<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2020/4/21
  Time: 7:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传原生</title>
    <script type="text/javascript" src="jquery/jquery-1.12.4.js"></script>
    <script type="text/javascript" src="bootstrap-3.3.7-dist/js/bootstrap.js"></script>
    <link rel="stylesheet" type="text/css" href="bootstrap-3.3.7-dist/css/bootstrap.css">
</head>
<body>
<div style="padding-top: 40px">
    <form class="form-horizontal" action="userFileAddServlet" method="post" enctype="multipart/form-data">
        <div class="form-group">
            <label class="col-sm-2 control-label">用户名：</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="userName" name="userName" placeholder="请输入用户名">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">地址</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="userAddress" name="userAddress" placeholder="请输入家庭住址">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">联系方式：</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="userTel" name="userTel" placeholder="请输入联系方式">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">注册时间：</label>
            <div class="col-sm-4">
                <input type="text" class="form-control" id="textRegDate" name="RegDate" placeholder="请输入注册时间">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">头像：</label>
            <div class="col-sm-4">
                <input type="file" class="form-control" id="userImg" name="userImg" placeholder="请输入用户名">
            </div>
        </div>
        <div class="form-group">
            <label  class="col-sm-2 control-label">密码：</label>
            <div class="col-sm-4">
                <input type="password" class="form-control" id="userPsw" name="userPsw" placeholder="请输入密码">
            </div>
        </div><div class="form-group">
        <label class="col-sm-2 control-label">确认密码：</label>
        <div class="col-sm-4">
            <input type="password" class="form-control" id="userPsw2" placeholder="请输入密码">
        </div>
    </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default">新增</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>
